package com.ohs.bll.service;

import java.util.List;
import java.util.Map;

import com.ohs.dal.model.Room;
import com.ohs.dal.model.Schedule;

public interface RoomService {
	public void saveInTransaction(Room entity, Map<Integer, Schedule> schedules, boolean updateStep, String username);

	public Room get(long roomId);

	public List<Room> list();
	
	public List<Room> findByLocation(long locationId);
	
	public List<Room> findByAccount(String username);
	
	public boolean isSetupRoom(String username);
	
	public List<Room> search(String keyword);
	
	public void udpate(Room room);
	
	public boolean delete(Long roomId);
}
